home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
dialogic.zip
/
DIALOG8.DB
< prev
next >
Wrap
Text File
|
1990-01-31
|
3KB
|
89 lines
DB(Level%, 1).Code = 1
DB(Level%, 1).Y = 0
DB(Level%, 1).X = 0
DB(Level%, 1).Height = 17
DB(Level%, 1).Wdth = 65
DB(Level%, 1).Bordertype = 1
DB(Level%, 1).PrimaryColor = -c1
DB(Level%, 1).WindowColor = -c1
DB(Level%, 1).Text = "The Command Button"
DB(Level%, 1).TextColor = c2
DB(Level%, 1).SecondaryColor = c1
LB(1).Text = "The command button is 'pushed' in order to execute the"
LB(2).Text = "command specified. Usual command buttons are <OK> and"
LB(3).Text = "<Cancel>. A highlighted command button may be pushed by"
LB(4).Text = "pressing <Enter>, or may be clicked on using the mouse."
LB(5).Text = "They may have a highlighted letter in them which, like"
LB(6).Text = "the smart label, allows direct access to them. "
LB(7).Text = " "
LB(8).Text = "Also, we've been pointing out highlighted Alt-keys to you."
LB(9).Text = "When designing dialog boxes it is good practice to pro-"
LB(10).Text = "vide enough Alt-keys so that the user may comfortably jump "
LB(11).Text = "from one dialog box element to another using the keyboard."
LB(12).Text = ""
LB(13).Text = "When you tab from one dialog box element to another you"
LB(14).Text = "are moving what is called the 'input focus'. If the in-"
LB(15).Text = "put focus is on a command button then its angle brackets"
LB(16).Text = "will be highlighted. If the input focus falls on any"
LB(17).Text = "other type of dialog box element then a default command"
LB(18).Text = "button will be automatically highlighted. Every dialog"
LB(19).Text = "box should have a default command button. "
LB(20).Text = " "
LB(21).Text = "If <Enter> is pressed to close a dialog box then the"
LB(22).Text = "highlighted command button will take effect. A high-"
LB(23).Text = "lighted command button is also said to be 'active'."
LB(24).Text = ""
LB(25).Text = "There are two command buttons below: <OK> and <Help>. If"
LB(26).Text = "<OK> is pushed then the next screen will appear. Push-"
LB(27).Text = "ing <Help> will give you a very special help message to"
LB(28).Text = "illustrate that opening an overlaying dialog box is one"
LB(29).Text = "response to a command button."
DB(Level%, 2).Code = 3
DB(Level%, 2).Y = 2
DB(Level%, 2).X = 2
DB(Level%, 2).Height = 10
DB(Level%, 2).Wdth = 1
DB(Level%, 2).WindowColor = c1
DB(Level%, 2).PrimaryColor = c1
DB(Level%, 2).SecondaryColor = c2
DB(Level%, 2).SelectedColor = -1
DB(Level%, 2).StarColor = c1
DB(Level%, 2).ItemLength = 60
DB(Level%, 2).KeyColor = 0
DB(Level%, 2).Bordertype = 2
DB(Level%, 2).Link = 0
DB(Level%, 2).TextY = 0
DB(Level%, 2).TextX = 0
DB(Level%, 2).TextColor = c1
DB(Level%, 2).NumberOne = 1
DB(Level%, 2).NumberTwo = 29
DB(Level%, 2).Default = 0
DB(Level%, 3).Code = 7
DB(Level%, 3).Y = 16
DB(Level%, 3).X = 25
DB(Level%, 3).Text = "~OK"
DB(Level%, 3).PrimaryColor = c1
DB(Level%, 3).WindowColor = c1
DB(Level%, 3).SelectedColor = c3
DB(Level%, 3).KeyColor = c4
DB(Level%, 3).SecondaryColor = c4
DB(Level%, 3).Default = -1
DB(Level%, 3).TextString = CHR$(13)
DB(Level%, 4).Code = 7
DB(Level%, 4).Y = 16
DB(Level%, 4).X = 35
DB(Level%, 4).Text = "~Help"
DB(Level%, 4).PrimaryColor = c1
DB(Level%, 4).WindowColor = c1
DB(Level%, 4).SelectedColor = c3
DB(Level%, 4).KeyColor = c4
DB(Level%, 4).SecondaryColor = c4
DB(Level%, 4).Default = 0
DB(Level%, 4).TextString = CHR$(0) + CHR$(59)
DB(Level%, 5).Code = 0